package com.ruoyi.ea.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 评价管理对象 ea_evaluate
 * 
 * @author wb
 * @date 2023-01-29
 */
public class Evaluate extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 评价序号 */
    private Long id;

    /** 学生id */
    @Excel(name = "学生id")
    private Long studentId;

    /** 老师id */
    @Excel(name = "老师id")
    private Long teacherId;

    /** 评价分数 */
    @Excel(name = "评价分数")
    private String grade;

    /** 评价内容 */
    @Excel(name = "评价内容")
    private String bounsContent;

    /** 评价时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "评价时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date bounsTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStudentId(Long studentId) 
    {
        this.studentId = studentId;
    }

    public Long getStudentId() 
    {
        return studentId;
    }
    public void setTeacherId(Long teacherId) 
    {
        this.teacherId = teacherId;
    }

    public Long getTeacherId() 
    {
        return teacherId;
    }
    public void setGrade(String grade) 
    {
        this.grade = grade;
    }

    public String getGrade() 
    {
        return grade;
    }
    public void setBounsContent(String bounsContent) 
    {
        this.bounsContent = bounsContent;
    }

    public String getBounsContent() 
    {
        return bounsContent;
    }
    public void setBounsTime(Date bounsTime) 
    {
        this.bounsTime = bounsTime;
    }

    public Date getBounsTime() 
    {
        return bounsTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("studentId", getStudentId())
            .append("teacherId", getTeacherId())
            .append("grade", getGrade())
            .append("bounsContent", getBounsContent())
            .append("bounsTime", getBounsTime())
            .toString();
    }
}
